﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Eacademy.Domain.Models;

namespace Eacademy.Domain.Abstractions
{
    public interface IMentorRepository
    {
        AdminMentorsViewModel GetMentorByUserId(int id);
        List<MentorCompactViewModel> GetMentors();
        List<MentorCompactViewModel> GetMentors(MentorFilterViewModel parameters);
        List<MentorCompactViewModel> GetMentors(int pageIndex, int pageSize, MentorFilterViewModel parameters, out int totalCount, bool count = true);
        List<MentorCompactViewModel> GetMentorsBySubject(int id);
        User AddMentor(AdminMentorsViewModel adminMentorsViewModel);
        Boolean UpdateMentor(AdminMentorsViewModel adminMentorsViewModel);
        Boolean DeleteMentor(int id);
        AdminMentorsViewModel GetMentorByMentorId(int id);
    }
}